package com.hsnn.medstgmini.base.dict.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 企业产品资质 类型字典
 * @author wangbing@njhsnn
 * 2015年6月9日
 */
@Entity
@Table(name="dic_entprod_profile")
public class DicEntprodProfile implements java.io.Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String dicEntprodProfileId;//企业产品资质类型ID
	private String firstLevelIndiCode;//企业产品资质类型编码
	private String firstLevelIndiName;//企业产品资质类型名称
	private Short status;//状态
	private String remark;//备注
	private String updDatetime;//更新时间
	private String updUser;//更新人
	
	/** default constructor */
	public DicEntprodProfile() {
		super();
	}

	 /** full constructor */
	public DicEntprodProfile(String dicEntprodProfileId,
			String firstLevelIndiCode, String firstLevelIndiName,
			Short status, String remark, String updDatetime, String updUser) {
		super();
		this.dicEntprodProfileId = dicEntprodProfileId;
		this.firstLevelIndiCode = firstLevelIndiCode;
		this.firstLevelIndiName = firstLevelIndiName;
		this.status = status;
		this.remark = remark;
		this.updDatetime = updDatetime;
		this.updUser = updUser;
	}
	
	@Id
	@Column(name="dic_entprod_profile_id", unique=true, nullable=false, length=36)
	public String getDicEntprodProfileId() {
		return dicEntprodProfileId;
	}

	public void setDicEntprodProfileId(String dicEntprodProfileId) {
		this.dicEntprodProfileId = dicEntprodProfileId;
	}
	
	@Column(name="first_level_indi_code",  length=100)
	public String getFirstLevelIndiCode() {
		return firstLevelIndiCode;
	}
	
	public void setFirstLevelIndiCode(String firstLevelIndiCode) {
		this.firstLevelIndiCode = firstLevelIndiCode;
	}
	
    @Column(name="first_level_indi_name",  length=128)
	public String getFirstLevelIndiName() {
		return firstLevelIndiName;
	}

	public void setFirstLevelIndiName(String firstLevelIndiName) {
		this.firstLevelIndiName = firstLevelIndiName;
	}
	
	@Column(name="status")
	public Short getStatus() {
		return status;
	}

	public void setStatus(Short status) {
		this.status = status;
	}
	
	@Column(name="remark",  length=4000)
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	
	@Column(name="upd_datetime")
	public String getUpdDatetime() {
		return updDatetime;
	}

	public void setUpdDatetime(String updDatetime) {
		this.updDatetime = updDatetime;
	}
	
	@Column(name="upd_user",  length=36)
	public String getUpdUser() {
		return updUser;
	}

	public void setUpdUser(String updUser) {
		this.updUser = updUser;
	}

}
